package com.zhao.service;

import com.zhao.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    //登录
    User selectUserByPWD(User user);
    //查全部用户
    List<User> selectAllUser(int page,int limit);
    //增加User
    int addUser(User user);
//    根据id查user
    User selectUserById(int id);
//    根据id更新用户
    int updateById(User user);
//    逻辑删除user
    int deleteUser(int id);
}
